<template>
  <el-tabs type="border-card">
    <el-tab-pane :label="p.load_name" v-for="(p, index) of creditGoods" :key="index">
      <white-list-tab :industrial-package="p"></white-list-tab>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import { mapGetters } from 'vuex'

import WhiteListTab from '@/bank/views/program/WhiteListTab'

export default {
  components: {
    WhiteListTab,
  },
  props: {},
  data() {
    return {}
  },
  computed: {
    ...mapGetters(['creditGoods']),
  },
  watch: {},
  created() {
    this.$store.dispatch('getCreditGoods')
  },
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped></style>
